import {api} from 'src/boot/axios'

export function login(data) {
  return api({
    url: '/user/login/',
    method: 'POST',
    data
  })
}


export function logout(data) {
  return api({
    url: '/user/logout/',
    method: 'POST',
    data
  })
}

